package com.mxfcode.back.mapper;


import com.mxfcode.back.dto.PlateDTO;
import com.mxfcode.back.dto.UserDTO;
import com.mxfcode.back.dto.UserSearchDTO;
import com.mxfcode.entity.BBSPlate;
import com.mxfcode.entity.TSUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BackPlateMapper {

    List<PlateDTO> getPlateList();

    int insertPlate(BBSPlate plate);

    BBSPlate getPlateById(String id);

    int updatePlate(BBSPlate plate);

    int updatePlateStatus(String id, Integer status);

    List<BBSPlate> getAllPlateList();

    int del(String id);
}